﻿using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace Koala.Pro.Core.Models
{
    [SugarTable("T_ACL_SystemType")]
    public class SystemTypeInfo : Entity<string>
    {
        [SugarColumn(IsPrimaryKey = true, ColumnName = "OID", ColumnDescription = "主键")]
        public override string Id { get; set; }

        [Required]
        public virtual string Name { get; set; }

        public virtual string CustomID { get; set; }

        public virtual string Authorize { get; set; }

        public virtual string Note { get; set; }

        public SystemTypeInfo()
        {
            Id = "自定义ID";
        }
    }
}
